package com.etrols.helloword.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Hello控制器
 *
 * @author Etrols
 */
@RestController
@RequestMapping("hello")
public class HelloController {

    /**
     * hello
     *
     * @return String
     */
    @GetMapping
    public String hello() {
        return "hello spring boot";
    }

}
